package com.dtsz.m2.utils;

import android.annotation.SuppressLint;
import android.content.Context;
import android.os.Build;
import android.telephony.TelephonyManager;

import androidx.annotation.RequiresApi;

import java.util.UUID;

public class IMEIUtils {


    /**
     * 获取手机IMEI
     *
     * @param context
     * @return
     */
    public static final String getIMEI(Context context) {
        String uuIdStr = UUID.randomUUID().toString().replace("-", "");
        //实例化TelephonyManager对象
        return uuIdStr;
    }

}
